package com.chenfan.mcn.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chenfan.common.extension.mybatisplus.enhanced.EnhancedBaseMapper;
import com.chenfan.mcn.model.StarMonthlySettlement;
import com.chenfan.mcn.model.dto.StarMonthlySettlementSearchDTO;
import com.chenfan.mcn.model.vo.StarMonthlySettlementListVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 红人月度结算单 Mapper 接口
 * </p>
 *
 * @author wulg
 * @since 2022-01-13
 */
public interface StarMonthlySettlementMapper extends EnhancedBaseMapper<StarMonthlySettlement> {


    /**
     * 分页查询红人月度结算单
     * @param page
     * @param dto
     * @return
     */
    Page<StarMonthlySettlementListVO> getPage(Page<StarMonthlySettlementListVO> page, @Param("dto") StarMonthlySettlementSearchDTO dto);

}
